//#define __COMPILE_DEBUG__
#include "../zepto.h"
#include "../internal.h"

DECLARE_FOREIGN("DISPLAY", builtin_display, ONE_ARG, EVAL_FIRST, IGNORE_TAIL, EVAL_TAIL)
{
  DEBUG("Display called.");
  print_sexpr(arg1);
  return TRUE;
}

DECLARE_FOREIGN("NEWLINE", builtin_newline, NO_ARGS, EVAL_NONE, IGNORE_TAIL, EVAL_TAIL)
{
  printf("\n");
  return TRUE;
}


void register_io(void) {
  EXPORT_FOREIGN(builtin_display);
  EXPORT_FOREIGN(builtin_newline);
}
